#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
////第六题:判断产品等级
int main()
{
	int S;
	printf("请输入产品性能分数");
	scanf("%d", &S);
	switch (S / 10) 
	{
	case 10:
	case 9:
		printf("A级产品\n");
		break;
	case 8:
		printf("B级产品\n");
		break;
    case 7:
		printf("C级产品\n");
		break;
	case 6:
		printf("D级产品\n");
		break;
	default:
		printf("D级产品\n");
		break;
	}
	return 0;
}